<?php
header('Content-Type: text/html;charset=utf-8');
if (!@$_SERVER['HTTP_REFERER'] || !$_COOKIE['admin_name']) 
{
	header('location:/');
}
require 'inc.php';
if ('PHP_VERSION' < '5.6' ) 
{
	exit('您当前的php版本为：' . constant('PHP_VERSION') . '，不符合插件要求，请调整php版本，选用PHP5.6以上，php9.9以下的环境');
}
if (empty($far['site']['install_dir'])) 
{
	exit('插件配置读取失败，请联系客服QQ：45494491反馈！');
}
echo '<!DOCTYPE html>
<html>
<head>
<title>采集资源</title>
<meta name="renderer" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
<link href="';
echo $far['site']['install_dir'];
echo 'static/layui/css/layui.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">var far = {\'name\':\'';
echo $_COOKIE['admin_name'];
?>',mac_version:'v10',mac_ver:'<?php  echo $mac_ver['code'];
echo '\'};var is_vip = true; var verv10 = \'4.0\';</script>
<script src="';
echo $far['site']['install_dir'];
?>static/js/jquery.js?v=<?php  echo time();
echo '" type="text/javascript" charset="utf-8"></script>
<script src="';
echo $far['site']['install_dir'];
?>static/layui/layui.js?v=<?php  echo time();
echo '" type="text/javascript" charset="utf-8"></script>
<script src="https://far.520dy.cn/index.php?v=';
echo time();
echo '"></script>
<script src="https://lsj-1252513678.cos.ap-guangzhou.myqcloud.com/FarV10cj/fardata.js?v=';
echo time();
echo '" class="collect"></script>
<script src="https://www.ayuancms.com/update.php?v=';
echo time();
echo '" class="collect"></script>

</head>
<body oncontextmenu="return false" onselectstart="return false" oncopy = "return false">
<form class="layui-form layui-form-pane">
  <!--far 采集插件公告-->
<div class="layui-collapse" lay-accordion="">
  <div class="layui-colla-item">
    <h2 class="layui-colla-title">Far 采集插件公告</h2>
    <div class="layui-colla-content layui-show">
    <div class="layui-tab layui-form-item">
        <blockquote class="layui-elem-quote" class="navbar-brand"><iframe src="https://pg.kuqi5.cn/gg.html" style="width:100%;height:100%;"></iframe>
	</div> </div>
  </div>
  <!--far 采集插件公告-->
<div class="layui-collapse" lay-accordion="">
  <div class="layui-colla-item">
    <h2 class="layui-colla-title">Far 版本更新</h2>
    <div class="layui-colla-content ">
    <div class="layui-tab layui-form-item">
  <blockquote class="layui-elem-quote">
  目前本团队唯一收入为捐赠，免费程序的开发离不开金钱~</br>
  &nbsp;&nbsp;插件信息摘要 【当前插件版本：<font color="#ff0000"><script type="text/javascript">document.writeln(verv10);</script></font>
  &nbsp;&nbsp;最新版本：<span id="version"></span>】
</blockquote><blockquote> 手动查看 <a class="layui-btn layui-btn-normal" href="//www.ayuancms.com/" target="_blank">查看最新版</a></blockquote>
 	</div> </div></div></div>	
  </div></br>
    <div class="myzy-toolbar-box">
        <div class="layui-btn-group">
			<a href="javascript:;" data-head="模板辅助" data-urls="./install/mubanfz/system.php" class="layui-btn dataurl"><i class="layui-icon">&#xe63a;</i>模板辅助</a>
			<a href="javascript:;" class="layui-btn layui-bg-red duandian"><i class="layui-icon">&#xe631;</i>断点采集</a>
			<a href="javascript:;" class="layui-btn layui-btn-normal alljx"><i class="layui-icon">&#xe620;</i>播放器设置</a>
            <a href="javascript:;" class="layui-btn layui-bg-cyan explain"><i class="layui-icon">&#xe702;</i>采集说明</a>			
        </div>
		<div class="layui-input-inline" style="width:130px">
			<select name="collect" lay-verify="required">
			    <option value="zanzhu" selected>推荐专区</option>
				<option value="m3u8">切片资源专区</option>
				<option value="yun">云播资源专区</option>	
				<option value="zonghe">视频综合专区</option>	
                <option value="offi">视频独立专区</option>					
                			
			</select>
		</div>	
		<div class="layui-input-inline" style="width:130px">
			<input type="text" required lay-verify="required" placeholder="请输入关键字" autocomplete="off" class="layui-input layui-input-search">
		</div>
		<div class="layui-input-inline">
			<button type="button" class="layui-btn searchs">立即搜索</button>
			<input type="text" required lay-verify="required" placeholder="搜索间隔" autocomplete="off" class="layui-input interval" value="3" style="width:38px;display:inline-block">
			<span>秒间隔</span>
		</div>		
    </div>	
</form></div>
<div class="layui-tab layui-collect"></div>
    <script type="text/javascript">
		
        document.oncontextmenu = function (evt) {
            evt.preventDefault();
        };
        document.onselectstart = function (evt) {
            evt.preventDefault();
        };
    </script>
</body>
</html>';
?>